var heapdump = require('heapdump');
heapdump.writeSnapshot('./logs/' + Date.now() + '.heapsnapshot');